home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1191
/
1191.xpi
/
chrome
/
reminderfox.jar
/
content
/
reminderfox
/
searchbar
/
rmSearch.xml
< prev
next >
Wrap
Extensible Markup Language
|
2008-10-19
|
2KB
|
77 lines
<?xml version="1.0"?>
<bindings id="SearchBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="searchbar" extends="chrome://global/content/bindings/textbox.xml#textbox">
<resources>
<stylesheet src="chrome://reminderfox/skin/rmSearchBox.css"/>
</resources>
<content>
<children/>
<xul:hbox class="quick-search-textbox textbox-input-box" flex="1">
<html:input class="textbox-input" flex="1" anonid="input"
allowevents="true"
xbl:inherits="onfocus,onblur,value,type,maxlength,disabled,size,readonly,tabindex,accesskey"/>
</xul:hbox>
<xul:toolbarbutton id="quick-search-clearbutton" xbl:inherits=""
disabled="true" class="quick-search-clearbutton"
onclick="rmOnBlueClearButton(); return false;"/>
</content>
<!-- onclick="rmOnClearSearch(); return false;"/ -->
<implementation>
<constructor>
<![CDATA[ // initialize the quick search mode based
]]>
</constructor>
<property name="clearButtonShown"
onget="return document.getElementById('quick-search-clearbutton')
.getAttribute('clearButtonShown') == 'true';"
onset="document.getElementById('quick-search-clearbutton')
.setAttribute('clearButtonShown', val); return val;"
/>
</implementation>
<handlers>
<handler event="input">
<![CDATA[
if (this.value) {
rmOnInputQSearch(this);
}
]]>
</handler>
</handlers>
</binding>
<binding id="searchBarDropMarker">
<resources>
<stylesheet src="chrome://reminderfox/skin/rmSearchBox.css"/>
</resources>
<content popup="_child">
<children/>
<xul:stack flex="1">
<xul:hbox align="center">
<xul:image class="qsChange" xbl:inherits="src"/>
</xul:hbox>
<xul:hbox align="center">
<xul:image class="qsChange-dropmarker"/>
</xul:hbox>
</xul:stack>
</content>
</binding>
</bindings>